package php.code;

import php.code.instructions.Instruction;

public class PhpDoc extends Block {

    public PhpDoc(Instruction instruction) {
        super(instruction.getIndentation(), " * ");
        instruction.indentationProperty.addListener((observable, oldValue, newValue) -> setIndentation(newValue));
    }

    @Override
    protected String open() {
        return "/**";
    }

    @Override
    protected String close() {
        return " */";
    }

}
